﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Profile.ascx.vb" Inherits="FrontEnd_Control_Users_Profile" %>
<%@ Register Assembly="ValidationTextBox" Namespace="ValidationTextBox.CustomControls"
    TagPrefix="cc1" %>
<%@ Register Assembly="ValidationDropdownlist" Namespace="ValidationDropdownlist.CustomControls"
    TagPrefix="cc2" %>

<script type="text/javascript">
    function ajaxJquery() {
        $(function () {
          
            $("#<%= btnRegister.ClientID %>").click(function () {
                if (validateFormInputs() == true) {

                    return true;
                } else {

                    return false;
                }
            });
        });
    }
</script>
<div class="box_conrent_main" style="width:685px;">
    <div class="bgtitle_conrent_main">
        <div class="title_viewsinfo">
            CẬP NHẬT THÔNG TIN CÁ NHÂN</div>
    </div>
    <div class="bgmid_conrent_main">
        <div class="content_viewinfo">
            <!-- note form -->
            <div class="note_form">
                Các trường đánh dấu <span>*</span> là bắt buộc</div>
            <!-- note form -->
            <!-- line tip form -->
            <div class="divline_form">
                Thông tin Liên hệ
            </div>
            <!-- end line tip form -->
            <table class="tableinfo" width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr class="rowinfo">
                    <td class="label" width="40%">
                        Họ và tên:
                    </td>
                    <td width="60%" class="input_text">
                        <cc1:ValidationTextBox ID="txtFullName" AssociatedLableText="họ và tên" CssClass="input_form"  MaxLength="16" runat="server"
                            DataType="required"></cc1:ValidationTextBox>
                     
                        <span>*</span>
                    </td>
                </tr>
                <tr class="rowinfo">
                    <td class="label">
                        Ngày sinh:
                    </td>
                    <td class="input_text">
                        <cc2:ValidationDropdownlist ID="ddlDay" AssociatedLableText="ngày" CssClass="input_select" Width="60" runat="server"
                            DataType="required">
                        </cc2:ValidationDropdownlist>
                        &nbsp;
                        <cc2:ValidationDropdownlist ID="ddlMonth" CssClass="input_select" AssociatedLableText="tháng" Width="60" runat="server"
                            DataType="required">
                        </cc2:ValidationDropdownlist>
                        &nbsp;
                        <cc2:ValidationDropdownlist ID="ddlYear" CssClass="input_select" AssociatedLableText="năm" Width="60" runat="server"
                            DataType="required">
                        </cc2:ValidationDropdownlist>
                        <span>*</span>
                    </td>
                </tr>
                <tr class="rowinfo">
                    <td class="label">
                        Giới tính:
                    </td>
                    <td class="input_text">
                        <cc2:ValidationDropdownlist ID="ddlGender" AssociatedLableText="giới tính" runat="server" CssClass="input_form" Width="100px"
                            DataType="required">
                            <asp:ListItem Value="0">---Chọn---</asp:ListItem>
                            <asp:ListItem Value="1">Nam</asp:ListItem>
                            <asp:ListItem Value="2">Nữ</asp:ListItem>
                        </cc2:ValidationDropdownlist>
                        <span>*</span>
                    </td>
                </tr>
                <tr class="rowinfo">
                    <td class="label">
                        Địa chỉ:
                    </td>
                    <td class="input_text">
                        <cc1:ValidationTextBox ID="txtDiaChi" runat="server" AssociatedLableText="địa chỉ" CssClass='TextBox' DataType="required"></cc1:ValidationTextBox>
             
                        <span>*</span>
                    </td
                    
                </tr>
                <tr class="rowinfo">
                    <td class="label">
                        Tỉnh\Thành Phố:
                     <td class="input_text">
                         <cc2:ValidationDropdownlist ID="ddlKhuVuc" runat="server" AssociatedLableText="khu vực" Width="145px" CssClass='DropDownList'
                            DataType="required">
                        </cc2:ValidationDropdownlist>
                        <span>*</span>
                    </td>
                </tr>
                <tr class="rowinfo">
                    <td class="style1">
                        Điện thoại:
                    </td>
                    <td class="style1">
                         <cc1:ValidationTextBox ID="txtDienThoai" runat="server" AssociatedLableText="điện thoại" CssClass='TextBox' DataType="required"></cc1:ValidationTextBox>
            
                        <span>*</span>
                    </td>
                </tr>
                <tr class="rowinfo">
                    <td class="label">
                        Điện thoại khác:
                    </td>
                    <td class="input_text">
                          <cc1:ValidationTextBox ID="txtDienThoaiKhac" runat="server" CssClass='TextBox'></cc1:ValidationTextBox>
                    </td>
                </tr>
                
                
                <tr class="rowinfo">
                    <td class="label">
                        &nbsp;
                    </td>
                    <td class="input_text">
                        <asp:Button ID="btnRegister" runat="server" Text=" Cập nhật " CausesValidation="true"
                            CssClass="btn_shortblue" />
                        &nbsp;
                        <input type="reset" class="btn_shortblue" value="Hủy" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="bgbottom_conrent_main">
    </div>
</div>
<!-- end Box ReGis -->

<div style="display: none">
    <asp:HiddenField ID="Ablage" Value="abc" runat="server" />
</div>
<asp:UpdatePanel ID="uplUsers" runat="server">
    <ContentTemplate>
        <!-- box Regis -->
    </ContentTemplate>
</asp:UpdatePanel>
